Skip to content

feat: CI & CD#16

Open
micrusa wants to merge 2 commits into
sanboxfrom
feat/ci
Open

feat: CI & CD#16
micrusa wants to merge 2 commits into
sanboxfrom
feat/ci

Conversation

@micrusa

@micrusa micrusa commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

CI/CD Integration using Github Actions

CI: Runs tests on push, new tags and pull requests
CD: Deploys to NPM repository when a tag is created. Needs NPM_TOKEN secret to be set

Workflow: checkout code -> setup environment (setup node, deps, build) -> run tests -> (only if it was triggered by a new tag) build & publish to NPM

To reproduce deployment, set the secret NPM_TOKEN and create a new tag. Should be automatically pushed to the NPM repository.

To reproduce test workflow, push to any branch, create a tag or create a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant